package com.association.management.service;

import org.apache.catalina.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by PanD
 */

public interface UserService {

    /**
     * description: 用户注册
     * date: 2020/6/22 15:06
     * @param user
     * @return org.apache.catalina.User
     */
    User register(User user);

    /**
     * description: 获取所有用户
     * date: 2020/6/21 19:13
     * @param
     * @return java.util.List<org.apache.catalina.User>
     */
    List<User> getAllUsers();

    /**
     * description: 用户修改个人信息
     * date: 2020/6/22 15:04
     * @param user
     * @return org.apache.catalina.User
     */
    User updateUser(User user);

}
